//
//  ISPasswordViewController.h
//  iPhoneSafety
//
//  Created by dlon 2019/1/1.
//  Copyright © 2019年 com.li.ding. All rights reserved.
//

#import <UIKit/UIKit.h>

typedef enum : NSUInteger {
    ISPasswordViewControllerTypeNew,
    ISPasswordViewControllerTypeChg,
    ISPasswordViewControllerTypeCheck,
    ISPasswordViewControllerTypeVerify
} ISPasswordViewControllerType;


@interface ISPassword : NSObject

+ (BOOL)isShow;

+ (void)setShow:(BOOL)show;

+ (NSString *)pwd;

+ (void)savePwd:(NSString *)pwd;

@end

@protocol ISPasswordViewControllerDelegate <NSObject>
- (void) passwordDidChangedWithType:(ISPasswordViewControllerType)type;
@end

@interface ISPasswordViewController : UIViewController

@property (nonatomic, assign) ISPasswordViewControllerType type;
@property (nonatomic, weak) id<ISPasswordViewControllerDelegate> delegate;

@end

